define([],function(){
	var tpl = {};

	tpl.changeStatus = function(){
		var html = "";
		html += changeStatus();
		return html;
	}
	tpl.table = function(){
		var html = "";
		html += table();
		return html;
	}

	var changeStatus = function(){
		return 	'<script id="tpl_monthlyAssessList_changeStatus" type="text/html">'+
				'	<div class="status-modal form-horizontal">'+
				'	  	<div class="form-group">'+
				'	    	<label class="col-sm-3 control-label">状态：</label>'+
				'	    	<div class="col-sm-7">'+
				'	      		<select id="statusSelect" class="form-control">'+
				'					{{each list as value i}}'+
				'				  		<option {{if value.key==status}}selected{{/if}} value="{{value.key}}">{{value.text}}</option>'+
				'					{{/each}}'+
				'				</select>'+
				'			</div>'+
				'	  	</div>'+
				'	  	<div class="form-group mt70">'+
				'	    	<div class="col-sm-offset-3 col-sm-9">'+
				'				<div id="statusModifyBtn" class="btn btn-primary">确定</div>'+
				'			</div>'+
				'	  	</div>'+
				'	</div>'+
				'</script>';
	}

	var table = function(){
		return 	'<script id="tpl_monthlyAssessList_table" type="text/html">'+
				'	<table id="monthlyAssessList" class="table table-striped table-bordered table-hover">'+
				'	<thead>'+
				' 	 	<tr>'+
				'  			<th>工单编号</th>'+
				'  			<th>手机号码</th>'+
		        '           <th>宝宝姓名</th>'+
		        '           <th>性别</th>'+
		        '           <th>出生体重(kg)</th>'+
		        '           <th>出生日期</th>'+
		        '           <th>孕周(天)</th>'+
		        '           <th>提交时间</th> '+
		        '           <th>状态</th>'+
		        '           <th>接收医生</th>'+
		        '           <th>处理时间</th>'+
		        '           <th>操作</th> '+
				' 		</tr>'+
				'	</thead>'+
				'	<tbody></tbody>'+
				'</table>'+
				'</script>';
	}

	return tpl;
});